package common.model.graph;

/**
 * Created by Common on 7/30/16.
 */
public class EdgeInstanceSchema {

    public static class Edges {
        // to edge_class id
        public static String has_edge_class = "has_edge_class";

    }


    public static class Properties {

        public static String has_node_type_value = MetaSchema.edge_instance;

        /*
         Edge Instance should not have an explict id,
         since (source_id , edge_class_id, target_id) represent the id of edge instance.
         But Gremlin will auto gen a id for edge instance, so we can query like g.E(7).next()
        */
        public static String has_id = "has_id";

        // E.label , to it's Edge Class Name
        public static String has_label = "has_label";
        public static String has_label_value = MetaSchema.edge_instance;

        //for couchdb 'name'
        public static String has_name = "has_name";

        public static String has_name_zh = "has_name_zh";

        public static String has_name_en = "has_name_en";

        //for couchdb 'label'
        public static String has_tag = "has_tag";




    }
}
